﻿using Microsoft.Data.SqlClient;
using System.Data.Common;

namespace Avin.Infrastructure.Linq.ToDbScript
{
    public class ToDbScriptManager
    {
        public static IToDbScript Get(DbProviderFactory dbProviderFactory)
        {
            if (dbProviderFactory is SqlClientFactory)
                return new ToSqlServerScript();

            return null;
        }
    }
}
